package com.easylinkin.linkappapi.grid.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.common.model.RequestModel;
import com.easylinkin.linkappapi.grid.entity.GridAppraise;
import com.easylinkin.linkappapi.grid.models.dto.GridAppraiseDTO;
import com.easylinkin.linkappapi.grid.models.dto.GridAppraiseFlagDTO;
import com.easylinkin.linkappapi.grid.models.query.GridAppraiseQuery;
import site.morn.rest.RestMessage;

/**
 * 网格评比表 服务类
 *
 * @author 
 * @since 2024-05-16
 */
public interface IGridAppraiseService extends IService<GridAppraise> {

    RestMessage queryPageList(RequestModel<GridAppraiseQuery> requestModel);

    RestMessage addAppraise(GridAppraiseDTO gridAppraiseDTO);

    RestMessage setAppraiseFlag(GridAppraiseFlagDTO gridAppraiseFlagDTO);

    byte[] export(GridAppraiseQuery query);
}